package servidorBanco;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

public class PreparedstatementFactory {
	public PreparedStatement getPreparedStatement(Connection conn, String sql){
		PreparedStatement pstm = null;
		try {
			pstm = conn.prepareStatement(sql);
			return pstm;
		} catch (SQLException e) {
			e.printStackTrace();
			return pstm;
		}
	}
}
